package challenge;

import java.applet.*;
import java.awt.*;
import java.util.*;

public class WhatApllet extends Applet implements Runnable{

	Date date = new Date();

	@Override
	public void init(){
		
	}
	
	@Override
	public void start(){
		
	}
	
	@Override
	public void stop(){
		
	}
	
	@Override
	public void destroy(){
		
	}
	
	@Override
	public void run() {
		while(true){
			date = new Date();
			repaint();
		}
	}
	
	@Override
	public void paint(Graphics g){
		g.drawString(date.toString(), 0, 10);
	}
}
